#include "head.h"

char* runtimefile = nullptr;

void sysout() {
    ofstream fout;
    fout.open(runtimefile);
    fout.close();
}

void sysout(char* s) {
    ofstream fout;
    fout.open(runtimefile, ios::ate);
    fout << s;
    fout.close();
}

void sysout(char* s, int t) {
    ofstream fout;
    fout.open(runtimefile, ios::ate);
    fout << s;
    fout << t;
    fout.close();
}

void sysout(char* s, double t) {
    ofstream fout;
    fout.open(runtimefile, ios::ate);
    fout << s;
    fout << t;
    fout.close();
}

void sysout(char* s, float t) {
    ofstream fout;
    fout.open(runtimefile, ios::ate);
    fout << s;
    fout << t;
    fout.close();
}

void sysout(char* s, COMPLEX t) {
    ofstream fout;
    fout.open(runtimefile, ios::ate);
    fout << s;
    fout << t;
    fout.close();
}